/**
 * Created by MingIr on 2017/6/27.
 * @author:bjzhang
 */

import { StackNavigator } from 'react-navigation';
import CardStackStyleInterpolator from 'react-navigation/src/views/CardStack/CardStackStyleInterpolator';
import Chest from './home/chest';
import MineChests from './mine/mine-chest';
import MineConversations from './message/conversations'
import AddImageText from './chest/image-text';
import AddRedPacket from './chest/red-packet';
import JoinNewEvent from './chest/join-event';
import EventDetail from './find-chest/event-detail';
import ImageDetail from './find-chest/image-detail';
import VideoDetail from './find-chest/video-detail';
import RedPacketDetail from './find-chest/redpacket-detail';
import VideoPlayer from './module/video';
import Login from './home/login';
const NavigaterRoute = StackNavigator({
    Chest:{
        screen:Chest
    },
    Login:{
        screen:Login
    },
    VideoDetail:{
        screen:VideoDetail
    },
    MineChests:{
        screen:MineChests
    },
    MineConversations:{
        screen:MineConversations
    },
    AddImageText:{
        screen:AddImageText
    },
    AddRedPacket:{
        screen:AddRedPacket
    },
    JoinNewEvent:{
        screen:JoinNewEvent
    },
    EventDetail:{
        screen:EventDetail
    },
    ImageDetail:{
        screen:ImageDetail
    },
    RedPacketDetail:{
        screen:RedPacketDetail
    },
    VideoPlayer:{
        screen:VideoPlayer
    },
},{
    headerMode: 'none',
    transitionConfig:()=>({
        screenInterpolator:CardStackStyleInterpolator.forInitial
    })
});
module.exports = { Navigater : NavigaterRoute };